package com.contactbook.web.client;

import com.google.gwt.user.client.ui.VerticalPanel;

public class ContactDetailsWidget extends View {

	private VerticalPanel content;
	
	private final static String TITLE = "Details of the contact "; 
	
	public ContactDetailsWidget(ContactBook contactBook) {
		super(contactBook);
	}
	
	@Override
	public VerticalPanel getContent() {
		if (content == null)
			return buildView();
		return content;
	}

	@Override
	public String getTitle() {
		return TITLE;
	}
	
	public VerticalPanel buildView() {
		
		content = new VerticalPanel();
		
		
		return content;
	}		
}
